#include"head.h"


int main(){
	vector<int> vec;
	list<int> lst;
	int i;
	while(cin >> i){
		lst.push_back(i);
	}
	copy(lst.cbegin(),lst.cend(),back_inserter(vec));
	for(const auto & prt : vec){
		cout << " ;" << prt ;
	}
	cout << endl;
	return 0;
}